import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-wangmi',
  templateUrl: './wangmi.page.html',
  styleUrls: ['./wangmi.page.scss'],
})
export class WangmiPage implements OnInit {

  public telephone:any;

  constructor(public router:Router) { }

  ngOnInit() {
  }

  next() {
    // if (this.telephone == "") {
    //   alert("请输入用户名");
    // }  else {
        // let userinf: string = '用户名：' + this.username + '电话：' + this.telephone;
        this.router.navigate(['/wangmi1/'])
        // console.log('我发生了跳转');
    // }
  }

}
